package vn.sunnet.backviet01.game.coloa.util;

import org.anddev.andengine.entity.sprite.Sprite;
import org.anddev.andengine.opengl.texture.region.TextureRegion;

public class Contain extends Sprite{

	private boolean isContainSkill = false;
	private boolean isContainItem = false;

	private int kindOfEquipmentItem = -1;

	private int idSkill = -1;
	private int idItem = -1;
	
	private StateSkill mState = StateSkill.NORMAL;

	public Contain(float pX, float pY, TextureRegion pTextureRegion) {
		super(pX, pY, pTextureRegion);
	}

	public void resetContain() {
		isContainSkill = false;
		isContainItem = false;

		kindOfEquipmentItem = -1;

		mState = StateSkill.NORMAL;
		
		idSkill = -1;
		idItem = -1;
	}
	
	public boolean isContainSkill() {
		return isContainSkill;
	}

	public void setContainSkill(boolean isContainSkill) {
		this.isContainSkill = isContainSkill;
	}

	public boolean isContainItem() {
		return isContainItem;
	}

	public void setContainItem(boolean isContainItem) {
		this.isContainItem = isContainItem;
	}

	public int getKindOfEquipmentItem() {
		return kindOfEquipmentItem;
	}

	public void setKindOfEquipmentItem(int kindOfEquipmentItem) {
		this.kindOfEquipmentItem = kindOfEquipmentItem;
	}

	public int getIdSkill() {
		return idSkill;
	}

	public void setIdSkill(int idSkill) {
		this.idSkill = idSkill;
	}

	public int getIdItem() {
		return idItem;
	}

	public void setIdItem(int idItem) {
		this.idItem = idItem;
	}

	public StateSkill getState() {
		return mState;
	}

	public void setState(StateSkill mState) {
		this.mState = mState;
	}

	public static enum StateSkill {
		ACTIVE, PASSIVE, NORMAL
	}
}
